package com.ambimmort.shj.action.dpi.users.group.brasip;

/**
 * Created by Administrator on 2015/7/30.
 */

import com.ambimmort.shj.service.dpi.users.group.BrasipService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;


@Controller("/action/dpium/group/brasip/list.do")
public class List {

    @Autowired
    private BrasipService brasipService;

    @RequestMapping("/action/dpium/group/brasip/list.do")
    @ResponseBody
    public String action_DpiUsersGroupAdslList(HttpServletRequest request, @RequestParam("iDisplayStart") String iDisplayStart, @RequestParam("iDisplayLength") String iDisplayLength, @RequestParam("groupId") String groupId) throws Throwable {
        return brasipService.listBrasip(iDisplayStart, iDisplayLength, groupId);

    }

}
